/**   
* @Title: SysUserBalanceServiceImpl.java 
* @Package com.leesche.zcsp.node.web.service.impl 
* @Description:() 
* @author dennies yang
* @date 2016年10月19日 下午12:00:52 
* @version V1.0   
*/
package com.leesche.zcsp.node.web.service.impl;

import com.leesche.zcsp.node.web.model.PubDeviceBalance;
import com.leesche.zcsp.node.web.service.impl.data.read.QueryPubDeviceBalanceCondition;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leesche.zcsp.node.web.dao.SysUserBalanceDao;
import com.leesche.zcsp.node.web.model.SysUserBalance;
import com.leesche.zcsp.node.web.model.SysUserBalanceCriteria;
import com.leesche.zcsp.node.web.service.SysUserBalanceService;
import com.leesche.zcsp.node.web.service.impl.data.read.QuerySysUserBalanceCondition;
import com.leesche.zcsp.node.web.service.impl.data.read.SysUserBalanceDto;
import com.leesche.zcsp.node.web.service.impl.data.writ.UpdateUserBalanceCommand;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Title: SysUserBalanceServiceImpl.java
 * @Package com.leesche.zcsp.node.web.service.impl
 * @Description:()
 * @author dennies yang
 * @date 2016年10月19日 下午12:00:52
 * @version V1.0
 */
@Service
@Transactional
public class SysUserBalanceServiceImpl extends
		BaseServiceImpl<SysUserBalance, SysUserBalanceCriteria, SysUserBalanceDto, QuerySysUserBalanceCondition, Long>
		implements SysUserBalanceService {
    private static Logger log = Logger.getLogger(SysUserBalanceServiceImpl.class);

    @Autowired
    private SysUserBalanceDao sysUserBalanceDao;


    @Autowired
    public void setBaseDao(SysUserBalanceDao sysUserBalanceDao) {
        super.setBaseDao(sysUserBalanceDao);
    }


	/* (non-Javadoc)
	 * @see com.leesche.zcsp.node.web.service.SysUserBalanceService#editSysUserByUserid(com.leesche.zcsp.node.web.service.impl.data.writ.UpdateUserBalanceCommand)
	 */
	@Override
	public int editSysUserByUserid(UpdateUserBalanceCommand updateUserBalanceCommand) {
		// TODO Auto-generated method stub
		return sysUserBalanceDao.updateByUserid(updateUserBalanceCommand);
	}

}
